﻿using System;
namespace libs.Model
{
	/// <summary>
	/// user:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class user
	{
		public user()
		{}
		#region Model
		private int _id;
		private string _username;
		private string _password;
		private string _position;
		private string _sex;
		private int _type;
		private string _power;
		private bool _enable;
		/// <summary>
		/// 工号
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 用户名
		/// </summary>
		public string username
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 密码
		/// </summary>
		public string password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 职位
		/// </summary>
		public string position
		{
			set{ _position=value;}
			get{return _position;}
		}
		/// <summary>
		/// 性别
		/// </summary>
		public string sex
		{
			set{ _sex=value;}
			get{return _sex;}
		}
		/// <summary>
		/// 类别
		/// </summary>
		public int type
		{
			set{ _type=value;}
			get{return _type;}
		}
		/// <summary>
		/// 权限
		/// </summary>
		public string power
		{
			set{ _power=value;}
			get{return _power;}
		}
		/// <summary>
		/// 禁用
		/// </summary>
		public bool enable
		{
			set{ _enable=value;}
			get{return _enable;}
		}
		#endregion Model

	}
}

